package cn.com.hori.cms.model;

import java.util.List;

/**
 * @author 刘艺
 * @date 2018/3/12 11:15
 */
public class ColumnTreeNode {
    private String columnId;
    private String columnName;
    private List<ColumnTreeNode> subtree;

    public ColumnTreeNode(String columnId, String columnName, List<ColumnTreeNode> subtree) {
        this.columnId = columnId;
        this.columnName = columnName;
        this.subtree = subtree;
    }

    public ColumnTreeNode() {
    }

    @Override
    public String toString() {
        return "ColumnTreeNode{" +
                "columnId='" + columnId + '\'' +
                ", columnName='" + columnName + '\'' +
                ", subtree=" + subtree +
                '}';
    }

    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public List<ColumnTreeNode> getSubtree() {
        return subtree;
    }

    public void setSubtree(List<ColumnTreeNode> subtree) {
        this.subtree = subtree;
    }
}
